/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const dataManageRouter = {
  path: '/dataManage',
  component: Layout,
  redirect: '/dataManage/Datamenu1',
  name: 'DataManage',
  meta: {
    title: '数据管理',
    icon: 'export'
  },
  children: [
    {
      path: 'Datamenu1',
      name: 'DataMenu1',
      component: () => import('@/views/dataManage/menu1/index'),
      meta: { title: '数据管理menu1' }
    },
    {
      path: 'Datamenu2',
      name: 'DataMenu2',
      component: () => import('@/views/dataManage/menu2/index'),
      meta: { title: '数据管理menu2' }
    }
  ]
}

export default dataManageRouter
